.TH std::match_results::operator= 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::match_results::operator= \- std::match_results::operator=

.SH Synopsis
   Defined in header <regex>
   match_results& operator=( const match_results& other );     \fB(1)\fP \fI(since C++11)\fP
   match_results& operator=( match_results&& other ) noexcept; \fB(2)\fP \fI(since C++11)\fP

   Assigns the contents.

   1) Copy assignment operator. Assigns the contents of other.
   2) Move assignment operator. Assigns the contents of other using move semantics.
   other is in a valid, but unspecified state after the operation.

.SH Parameters

   other - another match results object

.SH Return value

   *this

.SH Exceptions

   1) May throw implementation-defined exceptions.
